
#include "stdafx.h"
#include "DPIBitmapButton.h"
#include "DPIForm.h"

IMPLEMENT_DYNAMIC(CDPIBitmapButton, CBitmapButton)

CDPIBitmapButton::CDPIBitmapButton()
{
}

BOOL CDPIBitmapButton::LoadBitmaps(UINT nIDBitmapResource,
	UINT nIDBitmapResourceSel, UINT nIDBitmapResourceFocus,
	UINT nIDBitmapResourceDisabled)
{
	BOOL bRet = CBitmapButton::LoadBitmaps(nIDBitmapResource, nIDBitmapResourceSel, 
		nIDBitmapResourceFocus, nIDBitmapResourceDisabled);
	CDPIForm::DPIScale(m_bitmap); CDPIForm::DPIScale(m_bitmapSel); CDPIForm::DPIScale(m_bitmapFocus); CDPIForm::DPIScale(m_bitmapDisabled);
	return bRet;
}
